package com.dmw.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 剧评表(DmItemComment)实体类
 *
 * @author makejava
 * @since 2021-03-19 00:31:54
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DmItemComment implements Serializable {
    private static final long serialVersionUID = 910212886749374967L;

    private Long id;
    /**
     * 剧目Id
     */
    private Long itemid;
    /**
     * 评论用户ID
     */
    private Long userid;
    /**
     * 评分(1-10)
     */
    private Integer score;
    /**
     * 剧评
     */
    private String content;
    /**
     * 更新时间
     */
    private Date createdtime;
    /**
     * 修改时间
     */
    private Date updatedtime;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getItemid() {
        return itemid;
    }

    public void setItemid(Long itemid) {
        this.itemid = itemid;
    }

    public Long getUserid() {
        return userid;
    }

    public void setUserid(Long userid) {
        this.userid = userid;
    }

    public Integer getScore() {
        return score;
    }

    public void setScore(Integer score) {
        this.score = score;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getCreatedtime() {
        return createdtime;
    }

    public void setCreatedtime(Date createdtime) {
        this.createdtime = createdtime;
    }

    public Date getUpdatedtime() {
        return updatedtime;
    }

    public void setUpdatedtime(Date updatedtime) {
        this.updatedtime = updatedtime;
    }
}
